﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace t_205_verk_hopur_12.Models
{
    public class ChannelVideoViewModel
    {
        public Channel Channel { get; set; }
        public Video SingleVideo { get; set; }
        public IEnumerable<Video> Video { get; set; }
        public bool isOwner { get; set; }
        public User CurrentUser { get; set; }

        public ChannelVideoViewModel()
        {
            // Intentionally empty
        }

        public ChannelVideoViewModel(Channel argChannel, Video argSingleVideo)
        {
            Channel = argChannel;
            SingleVideo = argSingleVideo;
        }

        public ChannelVideoViewModel(Channel argChannel, Video argSingleVideo, bool owner)
        {
            Channel = argChannel;
            SingleVideo = argSingleVideo;
            isOwner = owner;
        }

        public ChannelVideoViewModel(Channel argChannel, IEnumerable<Video> argVideo)
        {
            Channel = argChannel;
            Video = argVideo;
        }

        public ChannelVideoViewModel(Channel argChannel, IEnumerable<Video> argVideo, User argCurrentUser)
        {
            Channel = argChannel;
            Video = argVideo;
            CurrentUser = argCurrentUser;
        }
    }
}
